home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 21
/
CU Amiga Magazine's Super CD-ROM 21 (1998)(EMAP Images)(GB)[!][issue 1998-04].iso
/
CUCD
/
Programming
/
Python-1.4
/
Source
/
CHANGES
Wrap
Text File
|
1998-01-31
|
7KB
|
217 lines
Changes to the 1.4 source code distribution:
--------------------------------------------
1. Made custom include/config.h by hand for AmigaDOS+SAS/C+AmiTCP.
2. Made custom modules/config.c by hand for Amiga version of Python.
3. Added custom Amiga module `environment' (modules/environment.c).
4. Added custom Amiga module `amiga' (modules/amigamodule.c).
5. Added custom Amiga module `arexxll' (modules/arexxmodule.c).
6. Added custom Amiga module `doslib' (modules/doslibmodule.c).
7. Added custom module `urlop' (modules/urlopmodule.c).
8. Added subdir Amiga with:
README - small describing text
mkdiff.py - makes diffs against original distribution
Diffs/ - output dir for mkdiff.py
make_gst.c - for building the GST
Python_netlib/ - contains source for python_net.lib
python_net.lib - custom version of AmiTCP's net.lib,
including some additional code like custom
WB startup, environment functions etc.
DISCL_and_COPYRIGHT - my disclaimer & CWI's copyright message
testset/ - additional tests for Amiga modules
unused/ - currently unused stuff
Docs/ - Amiga docs for distribution
c*mempools.o - replacement startup code for use with mempools lib
mempools*.lib - different mempools libraries.
9. Fixed unsigned char bytes in modules/binascii.c.
10. Changes to objects/abstract.c:
Renamed 'method' to 'meth' in objects/abstract.c because of name clash.
(in function: PyObject_CallMethod)
Added proto for Py_ReturnNullError
11. Removed definition of struct _node in include/compile.h for SASC.
12. Changed in include/mymath.h:
Added #include "myproto.h" for hypot def.
Added SAS math includes
13. Moved some unneeded files from parser to parser/NON-AMIGA,
from modules to modules/NON-AMIGA,
and from python to python/NON-AMIGA.
(these files are not included in the source archive for space reasons)
14. Added include/protos.h file containing a bunch of function prototypes.
15. Changes to include/allobjects.h:
Added #include "protos.h", #include <unistd.h>, #include <fcntl.h>
16. Added #include <proto/usergroup.h> (when AMITCP is defined) to:
modules/pwdmodule.c
modules/grpmodule.c
modules/cryptmodule.c
17. Changes to modules/main.c:
Fixed 2 prototypes
Added Amiga specific usage text
Added SAS/C stack setting etc
Added AmiTCP init & cleanup functions to modules/main.c
(checkXXXXlib functions)
18. Changed in parser/intrcheck.c:
added #includes for unistd.h & fcntl.h
added SAS/C specific ^C handling
19. Fixed return type to const char * for python/getcompiler.c &
python/getplatform.c
20. Changes to python/pythonrun.c:
Don't use kill on Amiga
case insensitive match for .pyc
fixed proto for exitfuncs, getpythonpath
added proto for sighandler
21. Changes to modules/socketmodule.c:
Don't use fcntl on Amiga
Added AMITCP includes
Added a couple of #defines for AMITCP API
22. Implemented AMITCP version of select call (with optional 5th parameter)
in modules/select.c
23. Changed modules/md5c.c to use regular memcpy and memset
24. Added Amiga specific #defines to include/osdefs.h
25. Changed in modules/sysmodule.c:
fixed prototypes for get... functions in initsys()
added code for correct behavior of setpythonargv() on Amiga
26. Added #defines for strtol & strtoul in include/rename2.h,
to use the library functions instead of the ones defined in
python/mystrtoul.c.
27. Added #include <ctype.h> to modules/regexmodule.c
28. Added #include <proto/socket.h> to include/myselect.h for AMITCP
29. Fixed proto for initfunc in include/import.h
30. Fixed functionptr protos in python/ceval.c (in func: assign_subscript)
31. Added proto to python/getmtime.c
32. Fixed protos in modules/getpath.c
33. Fixed protos in include/bltinmodule.h
34. Added stack checking code to python/sigcheck.c
35. Changed in python/import.c:
Fixed path building in find_module, now uses dos.library/AddPart
Fixed proto for getmtime
36. Added AMIGA version string to python/getversion.c
37. Added platform 'amiga' to python/getplatform.c
38. Added compiler string to python/getcompiler.c
39. Added code for floatsleep() on AMIGA in modules/timemodule.c
40. Added checks for bsdsocket.library (checkbsdsocketlib) in:
modules/syslogmodule.c
modules/socketmodule.c
modules/selectmodule.c
41. Fixed toupper macro in modules/soundex.c
42. Added checks for usergroup.library (checkusergrouplib) in:
modules/pwdmodule.c
modules/grpmodule.c
modules/cryptmodule.c
43. Added proto for float_buf_repr in objects/floatobject.c
44. Added proto for getmaxint in objects/intobject.c
45. Added Amiga/wbargs.c for better Workbench icon/tooltypes support
46. Moved some files from Lib to Lib/NON-AMIGA.
(these files are not included in the source archive for space reasons)
47. Changes to library files in lib drawer. These changes are also documented
in the README file. Files involved:
os.py (amiga additions)
tempfile.py (temp path try order is: T:, :T, SYS:T)
urllib.py (uses builtin urlop module for speed)
posixpath.py (stub for old posixpath.py)
amigapath.py (amiga's replacement for posixpath.py)
48. Slight changes in the testset (lib/test):
test_md5.py (more tests)
test_pow.py (ignores very small roundoff-errors)
testall.py (now includes test_md5 and test_pow and test_strop)
49. Supplied custom makefile for Amiga's SAS/C: SMAKEFILE.
Supplied SAS/C compiler options file: SCOPTIONS.
You don't need any of the original makefiles (just delete them if you like).
------------------------- RELEASED ON AMINET, 12-jan-97 -----------------------
BUG FIXES
------------------
SINCE RELEASE 1.4, 12-JAN-97
----------------------------
1. Fixed nasty problem with math module. Math functions were not called
called directly but through a pointer. This resulted in larger code and
roundoff errors (why? dunno). Among others this caused the random module
to abort with a ValueError.
Changed some macros in modules/mathmodule.c so now the math functions
are called directly. The random module works now.
2. Used yet another version of my mempools startup and malloc() code.
Somehow the previous one could still crash on exit. The current version
should be free of bugs and Enforcer hits.
3. Fixed bug in ReadLink code: reported No such file or directory even when
the path was correct. Caused by passing incorrect lock to ReadLink()...
4. Added a #define in include/config.h:
#define __CHAR_UNSIGNED__
(a few files need this instead of __UNSIGNED_CHAR__)
5. Added uname function in amiga module (modules/amigamodule.c)
6. Changed tests for AMIGA symbol to _AMIGA.
7. Python/getcompiler.c now dynamically builds SAS compiler version string.
8. Updated my email address, and the Amiga Python homepage URL.
Irmen de Jong
ijong@gak.nl
31-jan-98